
public class Card {

	///var
	private Suit suits;
	private int value;
	
	
	//con
	
	
	public Card(Suit suit, int values) {
		
		value = values;
		suits = suit;
		if(value > 10) {
			this.value = 10;
		} else {
			this.value = value;
		}
		
	}
	
	
	
	@Override
	public String toString() {
		return getSuits() + " " + getValue();
	}


	public Suit getSuits() {
		
		return suits; //suits;
	}


	public int getValue() {
		return value; //value;
	}
	
	public void ace() {
		if(value == 1) {
			value = 11;
		}
			
			
			
		 //value;
	}
	
	
	
	
	
	//meth
	
	
}
